package com.byxy.action;

import javax.annotation.Resource;

import com.byxy.aspect.MyLog;
import com.byxy.service.LineService;

public class LineDeleteAction {

	@Resource
	private LineService lineService;

	/**
	 * ?id=xxx
	 */
	private int id;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	/**
	 * 删除
	 */
	@MyLog(desc = "删除")
	public String delete() {
		lineService.delete(id);
		return "success";
	}
}
